package ld.service;

/**
 * @Author: Liudao
 * @Date: 2022-07-27-15:51
 * @Description:
 */
import ld.pojo.PageResult;
import ld.pojo.book;
import ld.vo.BookVo;


import java.util.List;

public interface BookService {
    List<book> findAll();

    PageResult<book> findByPage(int page, int pagesize);

    PageResult<book> search(int page, int pagesize, BookVo bookVo);

    boolean add(book book);

    boolean delbk(int bookid);
}
